# @Author     ：SEED
# @DateTime   ：2019-08-20  11:50 
# @FileName   ：tags_serializer.py


from rest_framework import serializers
from deployment.models import DeployOrder, BuildRecord


class BuildRecordSerializer(serializers.ModelSerializer):
    class Meta:
        model = BuildRecord
        fields = '__all__'


class DeployOrderSerializer(serializers.ModelSerializer):
    class Meta:
        model = DeployOrder
        fields = '__all__'


class DeployOrderSerializerDepth(serializers.ModelSerializer):
    class Meta:
        model = DeployOrder
        fields = '__all__'
        depth = 1
